home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / sample code / printing / std file saver / source / stdfilesaver.c < prev    next >
Encoding:
Text File  |  2000-09-28  |  1.5 KB  |  63 lines

  1. /*
  2. ** Copyright 1991-1996 Apple Computer. All rights reserved.
  3. **
  4. **    You may incorporate this sample code into your applications without
  5. **    restriction, though the sample code has been provided "AS IS" and the
  6. **    responsibility for its operation is 100% yours.  However, what you are
  7. **    not permitted to do is to redistribute the source as "DSC Sample Code"
  8. **    after having made changes. If you're going to re-distribute the source,
  9. **    we require that you make it clear in the source that the code was
  10. **    descended from Apple Sample Code, but that you've made changes.
  11. */
  12.  
  13. #error
  14.  
  15. // This file is unused, I think
  16.  
  17. #error
  18.  
  19. #include <types.h>
  20. #include <Devices.h>
  21.  
  22. // all functions just say that everything is fine and nothing else 
  23. // see also StdFileSaver.a for an alternate version of the driver 
  24.  
  25. // a printer driver related to a physical device would of course 
  26. // be more complete than that 
  27.  
  28. pascal OSErr DRVROpen(ParmBlkPtr ctlPB, DCtlPtr dCtl)
  29. {
  30. #pragma unused(ctlPB)
  31. #pragma unused(dCtl)
  32.     return noErr;
  33. }
  34.  
  35. pascal OSErr DRVRClose(ParmBlkPtr ctlPB, DCtlPtr dCtl)
  36. {
  37. #pragma unused(ctlPB)
  38. #pragma unused(dCtl)
  39.     return noErr;
  40. }
  41.  
  42. pascal OSErr DRVRControl(ParmBlkPtr ctlPB, DCtlPtr dCtl)
  43. {
  44. #pragma unused(ctlPB)
  45. #pragma unused(dCtl)
  46.     return noErr;
  47. }
  48.  
  49. pascal OSErr DRVRPrime(ParmBlkPtr ctlPB, DCtlPtr dCtl)
  50. {
  51. #pragma unused(ctlPB)
  52. #pragma unused(dCtl)
  53.     return noErr;
  54. }
  55.  
  56. pascal OSErr DRVRStatus(ParmBlkPtr ctlPB, DCtlPtr dCtl)
  57. {
  58. #pragma unused(ctlPB)
  59. #pragma unused(dCtl)
  60.     return noErr;
  61. }
  62.  
  63.